<table border="0" align="left" cellpadding="2" cellspacing="0" class="BtnBox_Nav">
  <tr>
  <%
	  Category.find(:all).each do |cat|
	    @category=cat if (cat.id==@cat_id)
  -%>
    <td align="center" valign="middle"><a class=<%= (cat.id==@cat_id)?"BtnA":"Btn" %> href="/cat/<%= cat.id %>/<%=@current_operation %>"><%= cat.name %></a></td>
  <%  end -%>
  </tr>
</table>